Optimal. Leaf size=69 \[ -\frac{\tan (e+f x) (a \sec (e+f x)+a)^m \text{Hypergeometric2F1}\left (1,m+\frac{1}{2},m+\frac{3}{2},\frac{1}{2} (\sec (e+f x)+1)\right )}{f (2 m+1) \sqrt{c-c \sec (e+f x)}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.129482, antiderivative size = 69, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 34, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.059, Rules used = {3961, 68} \[ -\frac{\tan (e+f x) (a \sec (e+f x)+a)^m \, _2F_1\left (1,m+\frac{1}{2};m+\frac{3}{2};\frac{1}{2} (\sec (e+f x)+1)\right )}{f (2 m+1) \sqrt{c-c \sec (e+f x)}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 3961
Rule 68
Rubi steps
\begin{align*} \int \frac{\sec (e+f x) (a+a \sec (e+f x))^m}{\sqrt{c-c \sec (e+f x)}} \, dx &=-\frac{(a c \tan (e+f x)) \operatorname{Subst}\left (\int \frac{(a+a x)^{-\frac{1}{2}+m}}{c-c x} \, dx,x,\sec (e+f x)\right )}{f \sqrt{a+a \sec (e+f x)} \sqrt{c-c \sec (e+f x)}}\\ &=-\frac{\, _2F_1\left (1,\frac{1}{2}+m;\frac{3}{2}+m;\frac{1}{2} (1+\sec (e+f x))\right ) (a+a \sec (e+f x))^m \tan (e+f x)}{f (1+2 m) \sqrt{c-c \sec (e+f x)}}\\ \end{align*}
Mathematica [F] time = 0.642719, size = 0, normalized size = 0. \[ \int \frac{\sec (e+f x) (a+a \sec (e+f x))^m}{\sqrt{c-c \sec (e+f x)}} \, dx \]
Verification is Not applicable to the result.
[In]
[Out]
________________________________________________________________________________________
Maple [F] time = 0.305, size = 0, normalized size = 0. \begin{align*} \int{\sec \left ( fx+e \right ) \left ( a+a\sec \left ( fx+e \right ) \right ) ^{m}{\frac{1}{\sqrt{c-c\sec \left ( fx+e \right ) }}}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a \sec \left (f x + e\right ) + a\right )}^{m} \sec \left (f x + e\right )}{\sqrt{-c \sec \left (f x + e\right ) + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [F] time = 0., size = 0, normalized size = 0. \begin{align*}{\rm integral}\left (-\frac{\sqrt{-c \sec \left (f x + e\right ) + c}{\left (a \sec \left (f x + e\right ) + a\right )}^{m} \sec \left (f x + e\right )}{c \sec \left (f x + e\right ) - c}, x\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{\left (a \left (\sec{\left (e + f x \right )} + 1\right )\right )^{m} \sec{\left (e + f x \right )}}{\sqrt{- c \left (\sec{\left (e + f x \right )} - 1\right )}}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int \frac{{\left (a \sec \left (f x + e\right ) + a\right )}^{m} \sec \left (f x + e\right )}{\sqrt{-c \sec \left (f x + e\right ) + c}}\,{d x} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]